package org.yagnus.scalasupport

/**
 * Wrapped Manifest is a Manifest that is a material class.
 */
class WrappedManifest[T](wm: Manifest[T]) extends WrappedClassManifest(wm) with Manifest[T] {
  def getManifest = wm;

  // Manifest stuff
  override def typeArguments: List[Manifest[_]] = wm.typeArguments
  override def arrayManifest: Manifest[Array[T]] = wm.arrayManifest
  override def canEqual(that: Any): Boolean = wm.canEqual(that);
  override def equals(that: Any): Boolean = wm.equals(that);
  override def hashCode = wm.hashCode();
}